package com.sofwin.yyb.entity;

import lombok.Data;

@Data
public class User {
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private Double balance;
    private String avatar;
    private String phone;

    public User() {
    }

    public User(Integer id, String username, String password,
                String nickname, Double balance, String avatar,
                String phone) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.balance = balance;
        this.avatar = avatar;
        this.phone = phone;
    }
}
